<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="utf-8">
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="expires" content="0" />
	<title>Use your phone ctrl PC</title>
	<link rel="stylesheet" type="text/css" href="{{url_for('static',filename='css/ctrl.css')}}">
	<link rel="shortcut icon" href="{{url_for('static',filename='img/favicon.ico')}}">
	<script src="{{url_for('static',filename='js/ctrl.js')}}"></script>
</head>
<body>
	{% if screenshot == "true" %}
	<img id="SS" src="/ctrl/screenshot">
	{% endif %}
	<div>
		<button id="left"><-</button>
		<button id="space">space</button>
		<button id="right">-></button>
	</div>
	<div>
		<button id="mu" class="mouse">mouse-up</button>
		<button id="md" class="mouse">mouse-down</button>
		<button id="ml" class="mouse">mouse-left</button>
		<button id="mr" class="mouse">mouse-right</button>
	</div>
	<div>
		<button id="click">left click</button>
		<button id="db-click">double click</button>
		<button id="r-click">right click</button>
	</div>
	<div>
		<input type="text" id="typing">
		<button id="submit-typing">type it</button>
	</div>
	<div>
		<input type="text" id="key">
		<button id="submit-key">press this key</button>
	</div>
	<div>
		<input type="text" id="hotkey">
		<button id="submit-hotkey">press this hotkey</button>
	</div>
	{#
	<div>
		<button id="esc">esc</button>
		<button id="fullscr">full screen</button>
	</div>
	#} 

</body>
</html>